package com.neuedu.demo1;

public class Ex01 {
    public static void main(String[] args){

        double weight = 0.183;
        double height = 384;
        final double g=9.8;
        double result = weight * height*9.8;

        //ek=1.0/2*m*vt*vt
        //vt =v0+g*t
        //t=Math.sqrt(2*h/g){开根号}

        System.out.println(result);

        int a=1;
        a=++a;
        System.out.println("1 "+a);
        a=a++;
        System.out.println("2 "+a);
        a=a++ + ++a;
        System.out.println("3 "+a);
        a=++a + a++;
        System.out.println("4 "+a);
        System.out.println(a-- + ++a + a++ +a);
        System.out.println(a);
    }
}
